package cn.com.callback

import java.util.Map;
import java.util.HashMap;
import cn.com.elite.EliteBean;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import cn.com.elite.Util;
import cn.com.elite.PropertiesUtil;

public class api_waterSmsResult implements ServiceBackInvoke{
	private static final Log log=LogFactory.getLog(api_waterSmsResult.class);
	
	public String doCallBack(EliteBean eliteBean,HttpServletRequest request,HttpServletResponse response){
		PropertiesUtil properties = new PropertiesUtil();
		def crmurl = properties.readValue("crmurl");
		log.debug("自动调用本地Groovy接口地址crmurl:"+crmurl);
		try{
		def charset = "utf-8";
		def timeout = 100000;
		def enableSSLflag = 0;

		Util.doHttpGet(crmurl+"waterSmsResult",charset,timeout,enableSSLflag);
		}catch(Exception e){
			log.error("接口异常信息：" ,e);
		}
	}
}
